# 导入tushare 设置ts_token
import ts_token_config
# 初始化pro接口
pro = ts_token_config.ts_pro()

# 拉取数据
df = pro.stock_basic(**{
    "ts_code": "000001.SZ",
    "name": "",
    "exchange": "",
    "market": "",
    "is_hs": "",
    "list_status": "",
    "limit": "",
    "offset": ""
}, fields=[
    "ts_code",
    "symbol",
    "name",
    "area",
    "industry",
    "market",
    "list_date"
])
print(df)